<?php /* Smarty version Smarty-3.0.6, created on 2012-12-11 08:14:39
         compiled from "/var/www/myweb/admin/skis/templates/include/editpage.html" */ ?>
<?php /*%%SmartyHeaderCode:170268045950c6eb6f023569-50403477%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'da88887721962199cd312db76282f5aaf4c63248' => 
    array (
      0 => '/var/www/myweb/admin/skis/templates/include/editpage.html',
      1 => 1355213668,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '170268045950c6eb6f023569-50403477',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("include/header1.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

<!-- topbar starts -->
<?php $_template = new Smarty_Internal_Template("include/header2.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<!-- topbar ends -->
        <div class="container-fluid">
        <div class="row-fluid">

<!-- left menu starts -->
<?php $_template = new Smarty_Internal_Template("include/leftmenu.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<!-- left menu ends -->

    <div id="content" class="span10">
			<!-- content starts -->
			

			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">首页</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">页面</a>
					</li>
				</ul>
			</div>

    <div class="row-fluid sortable">	
				<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-plus"></i><?php echo (($tmp = @$_smarty_tpl->getVariable('pageedittitle')->value)===null||$tmp==='' ? "添加单页面" : $tmp);?>
</h2>
						<div class="box-icon">
							<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
							<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
							<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
						</div>
					</div>
					<!--内容-->
                                        <div class="box-content">
                                            <div class="breadcrumb"><a href="<?php echo $_smarty_tpl->getVariable('webpaths')->value;?>
?c=pageedit&a=edit">添加单页面</a> | <a href="<?php echo $_smarty_tpl->getVariable('webpaths')->value;?>
?c=pageedit">浏览所有页面</a></div>
                                            <!--百度 ueditor-->
                                            <form method="post" action="<?php echo $_smarty_tpl->getVariable('webpaths')->value;?>
?c=pageedit&a=edit">
                                                <input type="hidden" value="<?php echo $_smarty_tpl->getVariable('content_id')->value;?>
" name="content_id" />
                                            <p><input type="text" name="contenttitle" value="<?php echo $_smarty_tpl->getVariable('contenttitle')->value;?>
" style="width:100%;margin: 0px;padding: 5px 0px;" /></p>
                                            <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('webpathroot')->value;?>
ueditor/editor_config.js"></script>
                                            <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('webpathroot')->value;?>
ueditor/editor_api.js"></script>
                                            <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('webpathroot')->value;?>
ueditor/editor_all.js"></script>
                                            <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('webpathroot')->value;?>
ueditor/themes/default/ueditor.css"/>
                                            <script type="text/plain" id="editor" name="myeditoraa" style="width:100%;"><?php echo $_smarty_tpl->getVariable('contentaaa')->value;?>
</script>
                                            <div class="clear"></div>
                                            <script type="text/javascript">
                                                var ue = new UE.ui.Editor();
                                                ue.render('editor');
                                                //1.2.4以后可以使用一下代码实例化编辑器
                                                //UE.getEditor('myEditor')
                                            </script> <br />
                                            <p><input type="submit" value="保存" name="click" class="btn btn-info" /></p>
                                            </form>
                                            <!--百度 ueditor
                                            添加完上面这些代码之后,需要在editor_config.js文件中修改两处地方
                                            第一处是22行,修改 'var URL'为'var URL = window.UEDITOR_HOME_URL||"/myweb/admin/skis/templates/uedit/";'
                                            第二处是27和28行,注释这两行,要不然添加图片会报错
                                            -->
					</div>
                                        <!--内容-->
				</div><!--/span-->
				
			</div><!--/row-->
                        
    </div>

    </div>
    <hr />

<?php $_template = new Smarty_Internal_Template("include/footer2.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</div>
<?php $_template = new Smarty_Internal_Template("include/footer1.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>